﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
#parse("common/head.html")
<link href="icon.ico" type="image/x-icon" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="../style/style.css">
<link rel="stylesheet" type="text/css" href="../css/index.css">
<link rel="stylesheet" type="text/css" href="../css/h_index.css">
<link rel="stylesheet" type="text/css" href="../css/shop.css">
<!--[if IE 7]>
<link rel="stylesheet" href="/css/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->

</head>
<body style="padding:0;margin:0 auto;clear:both; align:center;">



<div class="shop_nav">
<a href="shop.htm">
	<div class="shop_nav0101" > 1.我的购物车 </div>
	<div class="shop_nav0202"> </div>
	</a>
	
	<a href="shopsure.htm">
	<div class="shop_nav0303"> </div>
	<div class="shop_nav0404"> 2.确认订单信息 </div>
	<div class="shop_nav0505"> </div>
	</a>
	

	<div class="shop_nav03"> </div>
	<div class="shop_nav04"> 3.购买成功 </div>

</div>

<!--确认订单信息-->
<form id="confirm_order" method="post" action="$!{form.domain}/cart/confirm">
<div class="shop_bodylist">
	<div class="shop_bodytitle"> 确认订单信息 </div>
	<div class="shop_shopdiv">
		<div class="shop_shoptitle">
			
			<div class="shop_shoptitle02">
				<div class="shop_shoptitle02"> 课程名称 </div>
			</div>
			<div class="shop_shoptitle03" style="float:right"> 价&nbsp;格 </div>
		</div>
        #foreach($dd in $!form.courseList)
      	 #foreach($data in $!form.cartList)
          #if($data.courseId == $dd.courseId)
    		<div class="shop_shopbody">
    			<div class="shop_shopbody03">
    				<div class="shop_shopbody03pic"> <img src="$!{form.getImageUrl($!{data.coursePimg})}" class="shop_listimg"/> </div>
    				<div class="shop_shopbody03text">
    					<p>$!{dd.courseNm} </p>
    					<p style="color:#666">讲师：$!{dd.courseTeachernm} </p>
    				</div>
    			</div>
    			<div class="shop_shopbody04" style="float:right"> ¥$!{dd.curPrice} </div>
    		</div>
          #end
          #end
        #end
		<div class="shop_shoptitle" style="border-bottom:none;border-top:none;height:90px; ">
			<div class="shop_shoptitle02" style="width:570px;">
			 </div>
			<div class="shop_shoptitle03" style="width:180px;text-align:left;float:right;margin-right:30px;">
				<p>总计：<span style="float:right;"> ¥$!{form.count} </span> </p>
				<p>优惠：<span style="float:right;"> －¥$!{form.discountAmount} </span> </p>
				<p>学习币支付：<span style="float:right;">－¥#if($!{form.userInfo}) $!{form.userInfo.userLearncredit} #else 0 #end </span> </p>
			</div>
		</div>
		
		<div class="shop_shoptitle" style="border-bottom:none;border-top:none;height:40px;background-color:#EFEFEF ">
			<div class="shop_shoptitle01" style="width:auto;">
			</div>
			<div class="shop_shoptitle02" style="width:530px;line-height:40px;">
			已选课程
			<span style="font-size:14px;color:#FF6600"> $!form.courseList.size()</span> 门 
			 </div>
			<div class="shop_shoptitle03" style="width:170px;text-align:left;line-height:40px;">
				<p>总合计：<span style="float:right;font-size:16px;color:#FF6600"> ¥$!{form.amount} </span> </p>
			</div>
			<a href="javascript:$('#confirm_order').submit();"> <div class="shop_shopbodycount"> 确认提交</div> </a> 
		</div>
	</div>
</div>
</form>
<!--end确认订单信息-->
</body>
</html>